//
//  AFNetWorking.h
//  testpbl
//
//  Created by 黄权浩 on 15/8/10.
//  Copyright (c) 2015年 黄权浩. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFHTTPRequestOperationManager.h"
#import "AFURLSessionManager.h"

@interface AFNetWorking : NSObject

//get请求
+ (void)afnetworkingGet:(NSDictionary *)data geturl:(NSString *)url changeDic:(ChangeNSDictionary)changeDic;

//post请求
+ (void)afnetworkingPost:(NSDictionary *)data posturl:(NSString *)url changeDic:(ChangeNSDictionary)changeDic;

//网络监测
+ (void)reach:(ChangeState)changestate;

//创建下载任务
+ (void)sessionDownload:(NSString *)downloadUrl backPath:(DownloadPath)pathurl;

//创建上传任务
+ (void)sessionUpload:(NSString *)unloadUrl serverPath:(NSString *)serverUrl backstate:(UnloadState)unloadstate;

@end
